package com.partsoft.dits.mq;

import com.ibm.mq.MQQueueManager;

/**
 * 	MQ队列管理器提供接口
 */
public interface MQQueueManagerProvider {

	MQQueueManager getMQQueueManager(MQPoolDescriptor desc) throws RuntimeException;
	
	MQQueueManager getMQQueueManager(String hostName, int port, String channelName, String qmName)  throws RuntimeException;
	
	boolean hasMQQueueManager(MQPoolDescriptor desc);
	
	boolean hasMQQueueManager(String id);
	
}
